package com.helloworld.chat.dao;

import com.helloworld.chat.entity.Friend;

import java.util.List;

/**
 * Created by xdzy on 2017/6/29.
 */
public interface FriendDao {
    void addFriend(Friend friend);
    Friend getFriend(int id);
    Friend getFriend(int uid,int fuid);
    List<Friend> getFriendsInGroup(int groupId);
    void delete(Friend friend);
    void update(Friend friend);
}
